<div class="bpm-work">
  <div class="bpm-work-ex">
    <div class="bpm-work-ex-content">
      <div class="bpm-tabs">
        <h2 class="bpm-tabs-title">
          空防安全暨公安保卫工作月度统计表（公司部分）
        </h2>
        <div class="bpm-tabs-sub">
          <div class="bpm-tabs-sub-ioc"></div>
          <div class="bpm-tabs-sub-h2">基本信息</div>
        </div>
        <table style="width: 85%;margin: 0 auto;table-layout:fixed">
          <tr>
            <td colspan="3" class="form-text-th" style="width: 60%;">
              项目
            </td>
            <td class="form-text-th" style="width: 20%;">
              本月
            </td>
          </tr>
          <tr>
            <td colspan="3" class="form-text">
              <nz-form-label nzRequired class="form-label">所属机场</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="!fs.er.airport?'error':'success'" nzHasFeedback>
                <nz-select class="fm-input" [(ngModel)]="fs.er.airport"
                           [disabled]="fs.er.airport">
                  <nz-option *ngFor="let option of airportDic.datas" [nzLabel]="option.display" [nzValue]="option.id">
                  </nz-option>
                  <nz-option *ngIf="airportDic.isLoading" nzDisabled nzCustomContent>
                    <i nz-icon type="loading" class="loading-icon"></i>加载中...
                  </nz-option>
                </nz-select>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text" rowspan="7">
              <nz-form-label class="form-label">空中安保</nz-form-label>
            </td>
            <td class="form-text" rowspan="7">
              <nz-form-label>空警、安全员保障航班情况</nz-form-label>
            </td>
            <td class="form-text">
              <nz-form-label nzRequired>派遣空警、安全员（人次）</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="sendperson.invalid?'error':'success'"
                nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.sendperson" name="sendperson" required #sendperson="ngModel"
                  [nzMin]="0" [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label nzRequired>航空数量（班次）</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="flightcount.invalid?'error':'success'"
                nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.flightcount" name="flightcount" required #flightcount="ngModel"
                  [nzMin]="0" [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label nzRequired>飞行时长（小时）</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="flyingtime.invalid?'error':'success'"
                nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.flyingtime" name="flying-time" required #flyingtime="ngModel"
                  [nzMin]="0" [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label nzRequired>处置机上非法干扰行为（件次）</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="illegalevent.invalid?'error':'success'"
                nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.illegalevent" name="illegalevent" required #illegalevent="ngModel"
                  [nzMin]="0" [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label nzRequired>处置机上扰乱行为（件次）</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="disturbevent.invalid?'error':'success'"
                nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.disturbevent" name="disturbevent" required #disturbevent="ngModel"
                  [nzMin]="0" [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label nzRequired>协助押解犯罪嫌疑人（人次）</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="helpescort.invalid?'error':'success'"
                nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.helpescort" name="helpescort" required #helpescort="ngModel"
                  [nzMin]="0" [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label nzRequired>境外遣返人员数量（人次）</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="returnperson.invalid?'error':'success'"
                nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.returnperson" name="returnperson" required #returnperson="ngModel"
                  [nzMin]="0" [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label class="form-label">空地联动</nz-form-label>
            </td>
            <td colspan="2" class="form-text">
              <nz-form-label nzRequired>机组报警（次）</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="afalarm.invalid?'error':'success'"
                nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.afalarm" name="afalarm" required #afalarm="ngModel" [nzMin]="0"
                  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
        </table>
      </div>
    </div>
  </div>
  <div class="content-loading" *ngIf="fs.isLoading || fs.isSaveing">
    <nz-spin [nzSize]="'large'"></nz-spin>
  </div>
</div>
<div class="bpm-foot">
  <div class="tools">
    <div *ngIf="ss.mi.sa || ss.mi.gskfaqxg" class="item" (click)="save()">
      <i nz-icon type="save" class="icon"></i>
      <span class="text">保存</span>
    </div>
    <div class="item" (click)="close()">
      <i nz-icon type="logout" class="icon"></i>
      <span class="text">关闭</span>
    </div>
  </div>
</div>
